<h3>Drop a Committee Position</h3>

<table>
   <th>Position</th>
   <?php
       $type_list=$this->committee_model->view_type();
       foreach ($type_list->result() as $row_t)
       {
           echo '<tr><td colspan="2"><div id="typecell">'.$row_t->committee_type.'<div></td></tr>';
           $committee_list=$this->committee_model->view_committee($row_t->committee_type);
           foreach ($committee_list->result() as $row_c)
           {
                echo '<tr>';
                echo '<td>'.$row_c->committee_name.'</td>';
                $member_list=$this->committee_model->view_member($row_c->committee_name);
                echo '<td>';
                echo form_checkbox('check[]',$row_c->committee_name);
                echo '</td>';
                echo '</tr>';
               
           }    
       }
    ?> 
</table>